<template>
    <div class="padding-container">
        <TinymceEditor :value="content" @input="newContent"></TinymceEditor>
    </div>
</template>
  
<script>
import TinymceEditor from "@/components/TinymceEdit/index.vue"
export default {
    components: {
        TinymceEditor
    },
    data() {
        return {
            content: ""
        }
    },
    methods: {
        // 获取富文本的内容
        newContent(val) {
            this.content = val; // 直接更新 content 属性
        }
    }
}
</script>